home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re selection shapes, part 2 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: selection shapes, part 2
  2. Sent:        3/11/96 2:29 PM
  3. Received:    3/11/96 2:41 PM
  4. From:        lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Henri,
  9. >
  10. >Thanks for the detailed info to my previous question. It is very helpful (and
  11. >I understand the problem choosing good function names; sometimes it is very
  12. >tough).
  13. >
  14. >Now, I have a few problems creating these shapes. In all three cases, I need
  15. >to create a view context in order to calculate them. However,
  16. >CreateSelectionFrameShape does not pass in the facet or frame, and in the
  17. >case of creating a promise, I can externalize a picture (just like ODFDraw)
  18. >and so I need to calculate the "dragShape" (from ODFDraw), but need the lack
  19. >the facet (I only have the frame). What do you suggest to deal with these two
  20. >separate problems.
  21. >
  22. >Thanks
  23. >Scott Daniels
  24. >e-mail: scottdfl@aol.com
  25.  
  26.  
  27. Yes, that's a general problem with OpenDoc. We have in ODF a 
  28. FW_CScreenContext you can use in cases where you don't have a facet. 
  29. That's work fine for any screen operations like drag&drop.
  30.  
  31. Henri Lamiraux
  32. ODF Team
  33.